package net.pinnoocle.playdao.entity.shopPc.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author ye
 * @Description
 * @create 2021-12-13 10:09
 */
@Data
public class CheckOutUserOrderParams {

    @ApiModelProperty("用户id")
    @NotNull(message = "用户id不能为空")
    private String userId;

    @ApiModelProperty("用户参加的组局id")
    @NotNull(message = "用户参加的组局id不能为空")
    private String userGroupId;

    @ApiModelProperty("应付金额")
    @NotNull(message = "应付金额不能为空")
    private Double totalPrice;

    @ApiModelProperty("实付金额")
    @NotNull(message = "实付金额不能为空")
    private Double payPrice;

    @ApiModelProperty("优惠金额")
    private Double discountPrice;

    @ApiModelProperty("优惠券id")
    private String userCouponId;

    @ApiModelProperty("优惠途径 0 无优惠 1 自定义优惠 2 优惠券 3 抹零 4 面单")
    private Integer discountWay = 0;

    @ApiModelProperty("支付方式 0 线上支付 1 扫码 2 现金 3 pos机")
    private Integer payWay = 0;
}
